Skip to content

Also set SDKROOT when building apple platforms#1475

Merged
NobodyXu merged 1 commit intorust-lang:mainfrom
chyyran:set-sdkroot-xcrun
Jun 4, 2025
Merged

Also set SDKROOT when building apple platforms#1475
NobodyXu merged 1 commit intorust-lang:mainfrom
chyyran:set-sdkroot-xcrun

Conversation

@chyyran
Copy link
Contributor

@chyyran chyyran commented May 27, 2025

This also has the downstream effect of properly setting CMAKE_OSX_ARCHITECTURES and CMAKE_OSX_SYSROOT automatically for non-macOS apple targets for cmake projects

Picks up where rust-lang/cmake-rs#197 leaves off, obsoletes rust-lang/cmake-rs#244

@chyyran
Copy link
Contributor Author

chyyran commented May 27, 2025

cc @madsmtm

@NobodyXu
Copy link
Contributor

NobodyXu commented Jun 4, 2025

Thanks, LGTM

@NobodyXu NobodyXu merged commit 2719d95 into rust-lang:main Jun 4, 2025
73 checks passed
@github-actions github-actions bot mentioned this pull request Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants